# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'check.ui'
#
# Created: Fri Apr 05 22:06:34 2013
#      by: PyQt4 UI code generator 4.10
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_Check(object):
    def setupUi(self, Check):
        Check.setObjectName(_fromUtf8("Check"))
        Check.resize(801, 470)
        Check.setStyleSheet(_fromUtf8("background-color: rgb(255, 255, 255);"))
        self.verticalLayout = QtGui.QVBoxLayout(Check)
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.frame = QtGui.QFrame(Check)
        self.frame.setStyleSheet(_fromUtf8("background-color: rgb(240, 240, 240);"))
        self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtGui.QFrame.Raised)
        self.frame.setObjectName(_fromUtf8("frame"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.frame)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.checkimgbtn = QtGui.QPushButton(self.frame)
        self.checkimgbtn.setMinimumSize(QtCore.QSize(40, 40))
        self.checkimgbtn.setMaximumSize(QtCore.QSize(40, 40))
        self.checkimgbtn.setStyleSheet(_fromUtf8("border-image: url(:/jc/img/jc/msg_icon_check.png);"))
        self.checkimgbtn.setText(_fromUtf8(""))
        self.checkimgbtn.setObjectName(_fromUtf8("checkimgbtn"))
        self.horizontalLayout.addWidget(self.checkimgbtn)
        self.messagelbl = QtGui.QLabel(self.frame)
        self.messagelbl.setMinimumSize(QtCore.QSize(500, 0))
        self.messagelbl.setStyleSheet(_fromUtf8("color: rgb(255, 0, 0);"))
        self.messagelbl.setObjectName(_fromUtf8("messagelbl"))
        self.horizontalLayout.addWidget(self.messagelbl)
        spacerItem = QtGui.QSpacerItem(42, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.toolButton = QtGui.QToolButton(self.frame)
        self.toolButton.setMinimumSize(QtCore.QSize(80, 40))
        self.toolButton.setStyleSheet(_fromUtf8("color: rgb(255, 255, 255);\n"
"background-color: rgb(0, 170, 255);"))
        self.toolButton.setObjectName(_fromUtf8("toolButton"))
        self.horizontalLayout.addWidget(self.toolButton)
        self.rechecklbl = QtGui.QLabel(self.frame)
        self.rechecklbl.setStyleSheet(_fromUtf8("color: rgb(0, 85, 255);"))
        self.rechecklbl.setObjectName(_fromUtf8("rechecklbl"))
        self.horizontalLayout.addWidget(self.rechecklbl)
        self.verticalLayout.addWidget(self.frame)
        self.treeWidget = QtGui.QTreeWidget(Check)
        self.treeWidget.setAutoFillBackground(False)
        self.treeWidget.setStyleSheet(_fromUtf8(""))
        self.treeWidget.setFrameShape(QtGui.QFrame.StyledPanel)
        self.treeWidget.setFrameShadow(QtGui.QFrame.Raised)
        self.treeWidget.setLineWidth(0)
        self.treeWidget.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
        self.treeWidget.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.treeWidget.setEditTriggers(QtGui.QAbstractItemView.DoubleClicked|QtGui.QAbstractItemView.EditKeyPressed)
        self.treeWidget.setAutoExpandDelay(0)
        self.treeWidget.setObjectName(_fromUtf8("treeWidget"))
        self.fineicon = QtGui.QIcon()
        self.fineicon.addPixmap(QtGui.QPixmap(_fromUtf8(":/jc/img/jc/Fault_fine.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        
        self.warningicon = QtGui.QIcon()
        self.warningicon.addPixmap(QtGui.QPixmap(_fromUtf8(":/jc/img/jc/msg_icon_warning.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.checkicon = QtGui.QIcon()
        self.checkicon.addPixmap(QtGui.QPixmap(_fromUtf8(":/jc/img/jc/msg_icon_check.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.infoicon = QtGui.QIcon()
        self.infoicon.addPixmap(QtGui.QPixmap(_fromUtf8(":/jc/img/jc/msg_icon_info.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
#         item_1.setIcon(0, icon3)
        self.treeWidget.header().setVisible(False)
        
        self.treeWidget.header().setCascadingSectionResizes(True)
        #self.treeWidget.header().setDefaultSectionSize(600)
        self.treeWidget.header().setHighlightSections(True)
        self.treeWidget.header().setSortIndicatorShown(True)
        self.treeWidget.header().setResizeMode(0, QtGui.QHeaderView.Fixed)
        self.treeWidget.setColumnWidth(0, 600)
        self.verticalLayout.addWidget(self.treeWidget)

        self.retranslateUi(Check)
        QtCore.QMetaObject.connectSlotsByName(Check)

    def retranslateUi(self, Check):
        Check.setWindowTitle(_translate("Check", "Form", None))
        self.messagelbl.setText(_translate("Check", "提示信息", None))
        self.toolButton.setText(_translate("Check", "体检报告", None))
        self.rechecklbl.setText(_translate("Check", "重新体检", None))
        self.treeWidget.headerItem().setText(0, _translate("Check", "项目", None))
        self.treeWidget.headerItem().setText(1, _translate("Check", "结果", None))
        __sortingEnabled = self.treeWidget.isSortingEnabled()
        self.treeWidget.setSortingEnabled(False)
        itemwring = QtGui.QTreeWidgetItem()
        itemwring.setText(0, _translate("Check", "以下项目检查未通过", None))
        self.treeWidget.addTopLevelItem(itemwring)
        iteminfo = QtGui.QTreeWidgetItem()
        iteminfo.setText(0, _translate("Check", "以下项目检查安全", None))
        self.treeWidget.addTopLevelItem(iteminfo)
        self.treeWidget.topLevelItem(0).addChild(iteminfo)
        self.treeWidget.expandAll()
        
        
        self.treeWidget.setSortingEnabled(__sortingEnabled)

import qrc_rc
